home *** CD-ROM | disk | FTP | other *** search
- Path: nntp.snfc21.pbi.net!usenet
- From: mich@pbinet.com
- Newsgroups: comp.dsp,comp.lang.c
- Subject: Re: C code .vs. Assembly code for Microcontrollers/DSPs ?
- Date: 28 Mar 1996 23:59:37 GMT
- Organization: Pacific Bell Internet Services
- Message-ID: <4jf959$5vm@nntp.snfc21.pbi.net>
- References: <620174950wnr@dstrip.demon.co.uk> <4j9lfh$o2l@narses.hrz.tu-chemnitz.de>
- Reply-To: mich@pbinet.com
- NNTP-Posting-Host: ppp-5-34.rdcy01.pbinet.com
- X-Newsreader: IBM NewsReader/2 v1.03
-
- In <4j9lfh$o2l@narses.hrz.tu-chemnitz.de>, hfst@hrz.tu-chemnitz.de (Hans Steffani) writes:
- >> ...
- >> int var1, var2;
- >> int *var1p = &var1;
- >> var1p[-1] = 0;
- >> ...
- >
- >Post this to comp.lang.c[.moderated] and you will be told that this
- >leads to undefined behavior and something like that.
-
- Or you might be told it depends on the compiler.
- -----------------------------
- Reality Meter: [\.....], thought so
- -----------------------------
-
-